<!DOCTYPE html>
<html lang="zh-cn">
<script>
    //获取主机地址之后的目录，如： uimcardprj/share/meun.html
    var pathName=window.document.location.pathname;
    var path=pathName.substring(0,pathName.substr(1).indexOf('/')+1);
</script>
<head>
	<base href="/guguanjia/">
	<meta charset="utf-8" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>固管家服务平台</title>
    <meta name="description" content="index" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

	<!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="static/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="static/css/font-awesome.min.css" />
    <link rel="stylesheet" href="static/chosen/chosen.min.css" />

    <!-- ace styles -->
    <link rel="stylesheet" href="static/ace/css/ace.min.css" id="main-ace-style" />

    <link rel="stylesheet" href="static/ace/css/ace-skins.min.css" />
    <link rel="stylesheet" href="static/ace/css/ace-rtl.min.css" />

    <link rel="stylesheet" href="static/ztree/metro.css" />
    <link rel="stylesheet" href="static/validate/css/validform.css" />
    <link rel="stylesheet" href="static/css/custom.css" />
<!-- 工单详情样式 -->
	<link rel="stylesheet" href="static/css/work_style.css">

	<script src="static/jquery/jquery.js"></script>
	<script>
		$(function () {
			$("#navbar").load("/guguanjia/common/navbar");
			$("#sidebar").load("/guguanjia/common/sidebar");
		})
	</script>
	<!-- ace settings handler -->
	<script src="static/ace/js/ace-extra.min.js"></script>
	<style>
		#profile .center>label{width: 100px;text-align: right;}
	</style>
</head>

<body class="no-skin" id="body-content">
<!-- 顶部条 -->
<!-- 顶部条 -->
<div id="navbar" class="navbar navbar-default">
	

	<div class="navbar-container clearfix" id="navbar-container">
		<button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler">
			<span class="sr-only">Toggle sidebar</span>

			<span class="icon-bar"></span>

			<span class="icon-bar"></span>

			<span class="icon-bar"></span>
		</button>

		<div class="navbar-header pull-left" style="min-width:190px;">
			<a  class="navbar-brand">
				<small>
					固管家服务平台
				</small>
			</a>
		</div>
		<!-- <div class="navbar-header">
            <ul class="nav navbar-nav">
                <li class="">
                    <a  data-trigger="ajax" data-target="#fill-main-content" class="bigger-120">
                    <i class="menu-icon fa "></i>&nbsp;
                    </a>
                </li>
            </ul>
        </div> -->

		<div class="navbar-buttons navbar-header pull-right" role="navigation">
			<ul class="nav ace-nav">

				<li class="green">
					<a class="dropdown-toggle" href="javascript:void(0);" id="fullscreen" title="全屏"
					   onclick="launchFullscreen(document.documentElement);">
						<i class="ace-icon fa fa-arrows-alt "></i>
					</a>
				</li>

				<li class="purple" style="display:none;">
					<a data-toggle="dropdown" class="dropdown-toggle" >
						<i class="ace-icon fa fa-bell icon-animated-bell"></i>
						<span class="badge badge-important">8</span>
					</a>

					<ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
						<li class="dropdown-header">
							<i class="ace-icon fa fa-exclamation-triangle"></i>
							8 Notifications
						</li>

						<li>
							<a >
								<div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-pink fa fa-comment"></i>
												New Comments
											</span>
									<span class="pull-right badge badge-info">+12</span>
								</div>
							</a>
						</li>

						<li>
							<a >
								<i class="btn btn-xs btn-primary fa fa-user"></i>
								Bob just signed up as an editor ...
							</a>
						</li>

						<li>
							<a >
								<div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-success fa fa-shopping-cart"></i>
												New Orders
											</span>
									<span class="pull-right badge badge-success">+8</span>
								</div>
							</a>
						</li>

						<li>
							<a >
								<div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-info fa fa-twitter"></i>
												Followers
											</span>
									<span class="pull-right badge badge-info">+11</span>
								</div>
							</a>
						</li>

						<li class="dropdown-footer">
							<a >
								See all notifications
								<i class="ace-icon fa fa-arrow-right"></i>
							</a>
						</li>
					</ul>
				</li>

				<li class="light-blue">
					<a data-toggle="dropdown"  class="dropdown-toggle">
						<img class="nav-user-photo" src="static/img/small-male-pic.png" />
						<span class="user-info">
									<small>你好,</small>
									超级管理员
								</span>

						<i class="ace-icon fa fa-caret-down"></i>
					</a>

					<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
						<li>
							<a href="../userCenter/userCenter.html">
								<i class="ace-icon fa fa-user"></i>
								我的资料
							</a>
						</li>

						<li class="divider"></li>

						<li>
							<a href="../login.html">
								<i class="ace-icon fa fa-power-off"></i>
								退出
							</a>
						</li>
					</ul>
				</li>
			</ul>
		</div>
	</div><!-- /.navbar-container -->
</div>
<!-- 主体 -->
<div class="main-container" id="main-container">
	


<div id="sidebar" class="sidebar responsive">
		

		<div class="sidebar-shortcuts" id="sidebar-shortcuts">
			<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
				<button class="btn btn-success">
					<i class="ace-icon fa fa-signal"></i>
				</button>

				<button class="btn btn-info">
					<i class="ace-icon fa fa-pencil"></i>
				</button>

				<button class="btn btn-warning">
					<i class="ace-icon fa fa-users"></i>
				</button>

				<button class="btn btn-danger">
					<i class="ace-icon fa fa-cogs"></i>
				</button>
			</div>

			<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
				<span class="btn btn-success"></span>

				<span class="btn btn-info"></span>

				<span class="btn btn-warning"></span>

				<span class="btn btn-danger"></span>
			</div>
		</div><!-- /.sidebar-shortcuts -->

		<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
			<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
		</div>

		
	</div>



	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			

			<ul class="tab" id="breadcrumb">
				<!-- <li class="active" >
               菜单配置<i class="fa fa-times close"></i>
               </li>  -->
			</ul><!-- /.breadcrumb -->
			<div id="tab-menu">
				<ul class="dropdown-menu dropdown-caret" style="min-width: 0px;">
					<li><a href="javascript:void(0);" data-right-menu="all_close">全部关闭</a></li>
					<li><a href="javascript:void(0);" data-right-menu="other_close">关闭其他</a></li>
				</ul>
			</div>
		</div>

		<div class="page-content">
			<div class="ace-settings-container" id="ace-settings-container">
				<div class="btn btn-app btn-xs btn-warning ace-settings-btn"
					 id="ace-settings-btn">
					<i class="ace-icon fa fa-cog bigger-150"></i>
				</div>

				<div class="ace-settings-box clearfix" id="ace-settings-box">
					<div class="pull-left width-50">
						<div class="ace-settings-item">
							<div class="pull-left">
								<select id="skin-colorpicker" class="hide">
									<option data-skin="no-skin" value="#438EB9">#438EB9</option>
									<option data-skin="skin-1" value="#222A2D">#222A2D</option>
									<option data-skin="skin-2" value="#C6487E">#C6487E</option>
									<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
								</select>
							</div>
							<span>&nbsp; 皮肤</span>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-navbar" /> <label class="lbl"
																	  for="ace-settings-navbar"> 固定页头</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-sidebar" /> <label class="lbl"
																	   for="ace-settings-sidebar"> 固定导航菜单</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-breadcrumbs" /> <label class="lbl"
																		   for="ace-settings-breadcrumbs"> 固定导航条</label>
						</div>

						<!-- <div class="ace-settings-item">
                            <input type="checkbox" class="ace ace-checkbox-2"
                                id="ace-settings-rtl" /> <label class="lbl" for="ace-settings-rtl">
                                Right To Left (rtl)</label>
                        </div> -->

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-add-container" /> <label class="lbl"
																			 for="ace-settings-add-container"> 固定宽度
						</label>
						</div>
					</div>
					<!-- /.pull-left -->

					<div class="pull-left width-50">
						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-hover" /> <label class="lbl"
																	 for="ace-settings-hover"> 滑动式菜单</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-compact" /> <label class="lbl"
																	   for="ace-settings-compact"> 紧凑式菜单</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-highlight" /> <label class="lbl"
																		 for="ace-settings-highlight"> 高亮选中</label>
						</div>
					</div>
					<!-- /.pull-left -->
				</div>
				<!-- /.ace-settings-box -->
			</div>
			<!-- /.ace-settings-container -->
			<div class="page-header">
				<h1> 电子账台 </h1>
			</div>
			<div class="row">
				<div class="col-xs-12">
					<div id="fill-main-content" style="height:100%">
						<div class="tabbable">
							<div class="tab-content">
								<div id="home" class="tab-pane active clearfix">
									<div class="widget-container-col ui-sortable">
										<div class="widget-box ">
											<div class="widget-header widget-header-small">
												<h6 class="widget-title">
													<i class="ace-icon fa fa-search"></i>搜索
												</h6>

												<div class="widget-toolbar">
													<a href="javascript:void(0);" data-action="collapse">
														<i class="ace-icon fa bigger-125 fa-chevron-up"></i>
													</a>
												</div>
											</div>

											<div class="widget-body">
												<div class="widget-body-inner" >
													<div class="widget-main">
														<form action="admin/workOrder/list" method="post" id="search-form"
															  target="list-page" class="center clearfix">
															<div class="row padding-tb-10">
																<div class="col-sm-6">
																	<label class="inline">归属机构：</label>

																	<div class="btn-group width-80"   style="width:;">
	<span data-toggle="dropdown" class="btn btn-primary btn-white dropdown-toggle width-100">
		<span id="pullDownTreeCurNameone">全部</span> <i class="ace-icon fa fa-angle-down icon-on-right"></i>
	</span>

																		<div class="dropdown-menu dropdown-caret scrollable width-100" data-height="250">
																			<div class="padding-15" @click.stop>
																				<div style="padding-bottom: 10px;">
																					<input type="text" id="pullDownTreeSearchone" v-model="name" @keydown.enter="search()" placeholder="搜索" class="width-100"/>
																				</div>
																				<ul class="ztree" id="pullDownTreeone"></ul>
																			</div>
																		</div>
																	</div>
																	<input type="hidden" name="officeId" value="0" id="pullDownTreeCurIdone"/>
																	<input type="hidden" name="" value="" id="pullDownTreeCurPidone"/>
																	<input type="hidden" name="officeType" value="" id="pullDownTreeCurCidone"/>

																	</div>
																<div class="col-sm-6">
																	<label class="inline">时&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;间：</label>
																	<input v-model="condition.startTime" style="height: 35px;" type="date" class="width-40" name="startDate"/> -
																	<input v-model="condition.endTime" style="height: 35px;" type="date"class="width-40" name="endDate"/>
																</div>
															</div>
															<div class="row padding-tb-10">
																<div class="col-sm-6">
																	<label class="inline">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</label>
																	<select name="status" class="width-80" v-model="condition.status">
																		<option value="">请选择工单状态</option>
																		<option value="0">待运输</option>
																		<option value="1">运输中</option>
																		<option value="2">已结束</option>
																	</select>
																</div>
															</div>
															<div class="padding-trb-10 col-sm-12">
																<span class="btn  btn-primary btn-sm col-sm-6" @click="selectAll()">全 部 工单</span>
																<span class="btn btn-info btn-sm col-sm-6" id="search-btn" @click="selectPage()">条 件 查 询</span>
															</div>
														</form>

													</div>
												</div>
											</div>
										</div>
									</div>			<div class="space-6"></div>
									<div id="list-page"></div>
								</div>
							</div>
						</div>

						<table class="table table-striped table-bordered table-hover nomargin-bottom">
							<thead>
							<tr>
								<th class="center">编号</th>
								<th class="center">发起单位</th>
								<th class="center">发起人</th>
								<th class="center">运输人</th>
								<th class="center">处置人</th>
								<th class="center">状态</th>
								<th class="center">发起时间</th>
								<th class="center">更新时间</th>
								<th class="center">操作</th>
							</tr>
							</thead>

							<tbody>
							<tr v-for="work in page.list">
								<td class="center">
								<a title="点击查看工单详情" @click="todetil(work.id)">{{work.code}}</a>
								</td>
								<td class="center">{{work.createOfficeName}}</td>
								<td class="center">{{work.createUserName}}</td>
								<td class="center">{{work.transferUserName}}</td>
								<td class="center">{{work.recipientUserName}}</td>
								<td class="center">
										<font v-if="work.status==0" color="red">待运输</font>
										<font v-else-if="work.status==1" color="green">运输中</font>
										<font v-else color="gray">已结束</font>
								</td>
								<td class="center">{{work.createDate}}</td>
								<td class="center">{{work.updateDate}}</td>
								<td class="center">
									<div class="hidden-sm hidden-xs action-buttons">
											<a v-if="work.status==2" @click="toPrint(work.id)" class="green" target="_blank" title="打印联单" >
												<i class="ace-icon fa fa-print bigger-130"></i>
											</a>
									</div>
								</td>
							</tr>
							</tbody>
						</table>
						<div class="space-8"></div>

						<div class="clearfix">
							<div style="float: left;">
								<div style="padding-top:5px;">
			<span class="badge badge-info">
				当前第 {{page.pageNum}} 页 / {{page.pages}} 页，共 {{page.total}} 条数据
			</span>
								</div>
							</div>
							<div>
								<div class="pagination no-margin pull-right clearfix">
									<li class="prev"><a href="javascript:void(0);" @click="selectPage(1)">首页</a></li>
									<li v-if="page.hasPreviousPage" class="prev"><a href="javascript:void(0);" @click="selectPage(page.pageNum-1)">上一页</a></li>
									<li v-else class="prev disabled"><a href="javascript:void(0);" onclick="">上一页</a></li>
									<template v-for="pageIndex in page.navigatepageNums">
										<li v-if="pageIndex==page.pageNum" class="active"><a href="javascript:void(0);" onclick="">{{pageIndex}}</a></li>
										<li v-else><a href="javascript:void(0);" @click="selectPage(pageIndex)">{{pageIndex}}</a></li>
									</template>
									<li v-if="page.hasNextPage" class="next"><a href="javascript:void(0);" @click="selectPage(page.pageNum+1)">下一页</a></li>
									<li v-else class="next disabled"><a href="javascript:void(0);" onclick="">下一页</a></li>
									<li class="next"><a href="javascript:void(0);" @click="selectPage(page.pages)">尾页</a></li>
								</div>
							</div>
						</div>


						<!--详情模态框-->
						<div class="modal fade" id="detailModal" tabindex="-1" role="dialog" aria-labelledby="detailModalLabel" aria-hidden="true">
							<div class="modal-dialog">
								<div class="modal-content">
									<div class="modal-header">
										<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
										<h4 class="modal-title" id="detailModalLabel"><2016092100012>详情</h4>
									</div>
									<div class="modal-body">
										<div class="row">
                <div class="col-xs-12">
                    <div id="fill-main-content" style="height:100%">
                        <div class="xuboxPageHtml" id="xboxTest" style="overflow-y: auto; height: 932px;">
                            
                            <div class="layer">
                                <div class="profile-user-info profile-user-info-striped">
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">工单编号</div>
                                        <div class="profile-info-value">
                                            <span>2016092100012</span>
                                        </div>
                                    </div>
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">工单状态</div>
                                        <div class="profile-info-value">
			<span>
					<font color="red">待运输</font>
			</span>
                                        </div>
                                    </div>
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">创建用户</div>
                                        <div class="profile-info-value">
			<span>
				平台工作人员1 - 固管家服务平台&nbsp;&nbsp;&nbsp;17782054337
			</span>
                                        </div>
                                    </div>
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">运输用户</div>
                                        <div class="profile-info-value">
			<span>
				 -  &nbsp;&nbsp;&nbsp;
			</span>
                                        </div>
                                    </div>
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">处理用户</div>
                                        <div class="profile-info-value">
			<span>
				 - &nbsp;&nbsp;&nbsp;
			</span>
                                        </div>
                                    </div>
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">转运清单</div>
                                        <div class="profile-info-value">
                                            <span><b>运输车牌号：</b></span>
                                            <table class="table table-striped table-bordered table-hover nomargin-bottom">
                                                <thead>
                                                <tr>
                                                    <th class="center">废物名称</th>
                                                    <th class="center">类别编号</th>
                                                    <th class="center">主害成份</th>
                                                    <th class="center">重量(吨)</th>
                                                    <th class="center">形态</th>
                                                    <th class="center">包装方式</th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                <tr>
                                                    <td class="center">HW01-医疗废物</td>
                                                    <td class="center">851-001-01</td>
                                                    <td class="center">我</td>
                                                    <td class="center">1.0</td>
                                                    <td class="center">固态
                                                    </td><td class="center">袋装
                                                </td></tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="profile-info-row">
                                        <div class="profile-info-name">转运记录</div>
                                        <div class="profile-info-value">
                                            <div data-mohe-type="work_new" class="g-mohe " id="ggj-work_new">
                                                <div id="ggj-work_new_nucom">
                                                    <div class="mohe-wrap mh-wrap">
                                                        <div class="mh-cont mh-list-wrap mh-unfold">
                                                            <div class="mh-list" style="border-top: 0px; padding:0px;">
                                                                <ul style="margin:0px;">
                                                                    <li class="first">
                                                                        <p>2016-09-21 16:47:31</p>
                                                                        <p>产废方【重庆龙健金属制造有限公司】发起工单</p>
                                                                        <p></p>
                                                                        <p>操作员：17782054337&nbsp;&nbsp;17782054337</p>
                                                                        <span class="before"></span><span class="after"></span>
                                                                        <i class="mh-icon mh-icon-new"></i>
                                                                    </li><li>
                                                                </li></ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div><!-- /.page-content -->

            </div><!-- /.main-content -->

            <a href="javascript:void(0);" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse"
               style="z-index:1111">
                <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
            </a>
									</div>
									<div class="modal-footer">
                                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                       <!-- <button type="button" class="btn btn-primary">提交更改</button> -->
                                    </div>
								</div><!-- /.modal-content -->
							</div><!-- /.modal -->
						</div>


						




					</div>

				</div>
			</div>
		</div><!-- /.page-content -->

	</div><!-- /.main-content -->

	<a href="javascript:void(0);" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse"  style="z-index:1111">
		<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
	</a>
</div><!-- /.main-container -->
<style>
	#profile .center>label{width: 100px;text-align: right;}
</style>
<!-- 底部 -->
<!-- basic scripts -->
<script type="text/javascript">
    

																	
</script>

<script src="static/bootstrap/bootstrap.min.js"></script>

<!-- ace scripts -->
<script src="static/ace/js/ace-elements.min.js"></script>
<script src="static/ace/js/ace.min.js"></script>



<!-- 引入其他js -->
<script src="static/js/history.js"></script>
<script type="text/javascript" src="static/layer/layer.js"></script>
<script type="text/javascript" src="static/js/spin.min.js"></script>
<script type="text/javascript" src="static/ztree/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="static/js/jquery.autosize.min.js"></script>
<script type="text/javascript" src="static/chosen/chosen.jquery.min.js"></script>
<script type="text/javascript" src="static/validate/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="static/js/jquery.form.js"></script>
<script type="text/javascript" src="static/js/bootstrap-contextmenu.js"></script>
<script type="text/javascript" src="static/js/jquery.nicescroll.min.js"></script>
<script type="text/javascript" src="static/js/public.js"></script>

<script type="text/javascript" src="static/vue/vue.js"></script>
<script type="text/javascript" src="static/vue/axios.js"></script>
<script type="text/javascript" src="static/js/work/admin/work.js"></script>
<script >

</script>
<div id="script">

</div>

</body>
</html>
